package com.wtone.platform.gat.images.gat.message;

import com.wtone.platform.gat.images.gat.core.SubImageInfoCore;
import com.wtone.platform.gat.images.gat.model.MotorVehicle;
import com.wtone.platform.gat.images.gat.model.SubImageInfo;

import java.util.List;

/**
 * @Author: aiLin
 * @Date: 2020/9/26 17:30
 * @desc: 非标注车辆对象 MotorVehicle 特征属性 工具类
 */
public class MotorVehicleCore {

    /***
     * 获取图片进行下载
     * @param motorVehicles
     */
    public static void getMotorVehicle(List<MotorVehicle> motorVehicles){
        if(motorVehicles==null || motorVehicles.size()<=0){
            return;
        }
        for(int j=0;j<motorVehicles.size();j++){
            MotorVehicle motorVehicle = motorVehicles.get(j);
            if(motorVehicle==null){
                continue;
            }
            List<SubImageInfo> subImageInfo = motorVehicle.getSubImageInfoList().getSubImageInfo();
            if(subImageInfo==null || subImageInfo.size()<=0){
                continue;
            }
            SubImageInfoCore.getSubImageInfo(subImageInfo);
        }
    }
}
